# -*- coding: utf-8 -*-

from app import create_app, db, cli
from app.models import User, Profile

app = create_app()
cli.register(app)

@app.shell_context_processor
def make_shell_context():
    return {
        'app': app,
        'db': db,
        'user': User,
        'profile': Profile
    }
